package com.wzy.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wzy.domain.Student;
import com.wzy.mapper.StudentMapper;
import com.wzy.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;


/**
 * @author wzy
 * @Date: 2022/3/23 14:23
 * @Description:
 */
@Service
// @Primary
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {
    @Autowired
    private StudentMapper studentMapper;


    @Override
    public IPage<Student> getStudentPage(Page<Student> page) {
        return this.baseMapper.selectPage(page, null);
    }
}
